package com.ruoyi.system.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 特色产品对象 featured
 *
 * @author ruoyi
 * @date 2023-09-08
 */
@Data
public class Featured extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 内容 */
    @Excel(name = "内容")
    private String content;

    /** icon图标 */
    @Excel(name = "icon图标")
    private String icon;

    /** 背景图 */
    @Excel(name = "背景图")
    private String backgroundPic;

    /** 背景图 */
    @Excel(name = "摘要")
    private String digest;


    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("delFlag", getDelFlag())
                .append("title", getTitle())
                .append("content", getContent())
                .append("icon", getIcon())
                .append("backgroundPic", getBackgroundPic())
                .toString();
    }
}
